#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Result/Optimization/OptimizationBase.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

struct FRMASSSensitivityData : public OptimizationBase {
  SG::DataStructure::Common::Id m_RID = 0;           ///< Response ID
  SG::DataStructure::Common::Real m_RESPONSE = 0.0;  ///< Response value
  SG::DataStructure::Common::I64 m_TOPVAR = 0;       ///< TOPVAR ID
  SG::DataStructure::Common::I64 m_POS =
      0;  ///< Start position in coeffient dataset
  SG::DataStructure::Common::I64 m_LEN = 0;  ///< Length in coeffient dataset
  SG::DataStructure::Common::Id m_domainId = 0;  ///< Domain identifier
};

///< @brief 判断数据是否相等
DECLSPEC bool operator==(const FRMASSSensitivityData& val1,
                         const FRMASSSensitivityData& val2);

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE
